#include <stdio.h>

int main(void)
{

    int price = 23;

    printf("商品的价格是: %d\n", price);
    printf("请投币：\n");

    int amount;
    scanf("%d", &amount);

    if (amount < price)
    {
        printf("不好意思,您购买的商品价格是 %d元,你给出的 %d元钱不足以支付\n", price, amount);
    }
    else
    {
        printf("收您 %d元,找您 %d元!\n", amount, amount - price);
    }

    getchar();
    getchar();
    return 0;
}
